package com.zhangquancheng.shirodemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangquancheng.shirodemo.entity.TbRole;
import com.zhangquancheng.shirodemo.entity.TbRolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface TbRoleMapper extends BaseMapper<TbRole> {
    int deleteByPrimaryKey(Long id);

    int insert(TbRole record);

    int insertSelective(TbRole record);

    TbRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbRole record);

    int updateByPrimaryKey(TbRole record);
}